package com.example.constant;

public class MessageDecoderConstant {
	/**
	 * 报文的最大长度
	 */
	public static final int MAX_FRAME_LENGTH = 1024;
	/**
	 * 长度域在报文上偏移
	 */
	public static final int LENGTH_FIELD_OFFSET = 1;
	/**
	 * 长度域的长度
	 */
	public static final int LENGTH_FIELD_LENGTH = 2;
	/**
	 * 报文头部调整
	 */
	public static final int LENGTH_ADJUSTMENT = 0;
	/**
	 * 报文裁剪采取的政策：保存头部
	 */
	public static final int INITIAL_BYTES_TO_STRIP = 0;
	/**
	 * 启动标识 ff02
	 */
	public static final char INIT_SIGN = 0xff02;
}
